package common.Tables;

import java.io.Serializable;
/**
 * class TasksNotes.
 * represents the TasksNotes table
 * @author michal
 *
 */
public class TasksNotes implements Serializable,Table {	
	private static final long serialVersionUID = 1L;
	private long tasksNotesID;	//serial number
	private Tasks taskID;	//task
	private String notes;	//notes
	private String printTask="";	//the task in print format. 
	
	/*
	 * getters & setters
	 */
	public long getTasksNotesID() {
		return tasksNotesID;
	}
	public void setTasksNotesID(long tasksNotesID) {
		this.tasksNotesID = tasksNotesID;
	}
	public Tasks getTaskID() {
		return taskID;
	}
	public void setTaskID(Tasks taskID) {
		this.taskID = taskID;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public String toString(){
		return taskID.getTask().trim()+" "+notes;
	}
	public void setPrintTask(String printTask) {
		this.printTask = printTask.trim();
	}	
	public String getPrintTask() {
		return printTask;
	}	
}
